package com.xunyin.modules.shareorder.param;

import com.xunyin.common.web.param.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author admin
 * @date 2022-10-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "茶室订单查询参数", description = "茶室订单查询参数")
public class TShareOrderParam extends QueryParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单Id")
    private Integer id;

    @ApiModelProperty(value = "用户Id")
    private Integer userId;

    @ApiModelProperty(value = "门店Id")
    private Integer teaId;

    @ApiModelProperty(value = "应用用户ID(微信openid,支付宝userid)")
    private String appUserId;

    @ApiModelProperty(value = "房间Id")
    private Integer teaChildId;

    private String storeRoomName;

    @ApiModelProperty(value = "选择预订的时间区间")
    private String times;

    @ApiModelProperty(value = "服务时间")
    private String serverTime;

    /**
     * 服务开始时间
     */
    private String teaServerStartTime;

    /**
     * 服务结束时间
     */
    private String teaServerEndTime;

    @ApiModelProperty(value = "页面Id")
    private String pageId;

/*    @ApiModelProperty(value = "订单创建用户ID")
    private Integer userId;*/

    @ApiModelProperty(value = "续单的前一个订单Id")
    private Integer parentOrderId;

    @ApiModelProperty(value = "预订天数")
    private Integer dateCount;

    @ApiModelProperty(value = "是否选择使用会员时长")
    private Integer memberTimelongFlag;

    @ApiModelProperty(value = "会员拥有的总时长")
    private Double memberTimeLong;

    @ApiModelProperty(value = "用户手机号")
    private String userPhone;

    @ApiModelProperty(value = "用户优惠券Id")
    private Integer useCouponId;

    @ApiModelProperty(value = "用户小时卡券或次卡Id")
    private Integer useHourCouponId;

    @ApiModelProperty(value = "会员用户Id")
    private Integer memberUserId;

    @ApiModelProperty(value = "订单Id")
    private Integer orderId;

    @ApiModelProperty(value = "小程序APPID")
    private String openId;

    private Integer rechargeSetId;

    private Integer teaHouseId;

    private Integer storeId;

    private String cleannerPhone;

    private String remark;

    private String pictures;

    private String orderNo;


    private Integer payType;

    private BigDecimal timeInterval;

    /**
     * 预约时间串
     */
    private String teaSubscribeTimes;

    private String startTime;

    private String endTime;

    private Integer orderStatus;

    private Integer startFlag;

    /**
     * 房间id
     */
    private Integer storeRoomId;

    // 是否续单标识
    private Integer isRepeat;

    // 操作标识（1表示开门操作，2表示续单操作）
    private Integer operFlag;

    private Integer dayNum;

    // 0表示套餐模式,1表示小时模式
    private Integer packMode;

    // 套餐金额
    private BigDecimal packMoney;

}
